package top.ucat.x.sso.service.provider;

import org.springframework.security.oauth2.common.OAuth2AccessToken;
import org.springframework.web.HttpRequestMethodNotSupportedException;

public interface LoginService {

    OAuth2AccessToken loginByUsernameAndPassword(String username, String password) throws HttpRequestMethodNotSupportedException;

}
